package com.kingdee.eas.hr.emp;

import com.kingdee.bos.BOSException;
//import com.kingdee.bos.metadata.*;
import com.kingdee.bos.framework.*;
import com.kingdee.bos.util.*;
import com.kingdee.bos.Context;

import java.lang.String;
import com.kingdee.bos.metadata.entity.EntityViewInfo;
import com.kingdee.eas.common.EASBizException;
import com.kingdee.bos.dao.IObjectPK;
import java.util.Map;
import com.kingdee.bos.metadata.entity.SelectorItemCollection;
import com.kingdee.eas.framework.CoreBaseCollection;
import java.util.Set;
import com.kingdee.bos.util.*;
import com.kingdee.bos.BOSException;
import com.kingdee.bos.Context;
import com.kingdee.bos.dao.IObjectValue;
import com.kingdee.eas.framework.CoreBaseInfo;
import java.lang.StringBuffer;
import com.kingdee.jdbc.rowset.IRowSet;
import com.kingdee.bos.framework.*;
import com.kingdee.eas.base.attachment.common.SimpleAttachmentInfo;
import com.kingdee.bos.util.BOSUuid;
import java.util.List;
import java.util.Vector;
import com.kingdee.eas.framework.IObjectBase;

public interface IEmployeeContract extends IObjectBase
{
    public EmployeeContractInfo getEmployeeContractInfo(IObjectPK pk, SelectorItemCollection selector) throws BOSException, EASBizException;
    public EmployeeContractInfo getEmployeeContractInfo(String oql) throws BOSException, EASBizException;
    public EmployeeContractCollection getEmployeeContractCollection() throws BOSException;
    public EmployeeContractCollection getEmployeeContractCollection(EntityViewInfo view) throws BOSException;
    public EmployeeContractCollection getEmployeeContractCollection(String oql) throws BOSException;
    public EmployeeContractInfo getEmployeeContractInfo(IObjectPK pk) throws BOSException, EASBizException;
    public Vector addBatchEmployeeContract(EmployeeContractCollection contInfos) throws BOSException, EASBizException;
    public IObjectPK[] saveAll(EmployeeContractCollection empCols, IObjectPK[] deleteList) throws BOSException, EASBizException;
    public boolean recordEmpContract(String empContractIds) throws BOSException, EASBizException;
    public int getEmpContractStateValue(String empContractID) throws BOSException, EASBizException;
    public void setEmpContractStateValue(String empContractID, int stateValue, int newStateValue) throws BOSException, EASBizException;
    public IObjectPK addNewEmpContract(String oldEmpContractID, int contractProcessState, EmployeeContractInfo model, String[] curAttachIds, SimpleAttachmentInfo attachmentInfo, boolean isSelectUseOld) throws BOSException, EASBizException;
    public IObjectPK submitEmployeeContractAndAttachment(boolean isSelectUseOld, String oldEmpContractID, String[] curAttachIds, SimpleAttachmentInfo attachmentInfo, IObjectValue editData) throws BOSException, EASBizException;
    public void setVIPItem(String id, String personID) throws BOSException, EASBizException;
    public boolean isZhongTianCustomer() throws BOSException;
    public IRowSet getProcessContractsDataByIds(StringBuffer selectedContractIds) throws BOSException, EASBizException;
    public void batchProcessContracts(EmployeeContractCollection contractCol, int processType) throws BOSException, EASBizException;
    public void stopContracts(Map persons) throws BOSException;
    public Set getContractIDsFromAttachment() throws BOSException;
    public Map getContinuousContracts(List personIdList) throws BOSException;
    public void setEditState(BOSUuid billId) throws BOSException, EASBizException;
    public void setApproveState(BOSUuid billId) throws BOSException, EASBizException;
    public void setPassState(BOSUuid billId) throws BOSException, EASBizException;
    public void setUnpassState(BOSUuid billId) throws BOSException, EASBizException;
    public void setTempState(BOSUuid billId) throws BOSException, EASBizException;
    public void setEndState(String contractId) throws BOSException, EASBizException;
}